AOUT#.SOURCE
Description
This keyword sets the source of the analog output
Value | Description |
---|---|
0 | AOUT#.VALUE is driven by AOUT#.VALUEU. |
1 | AOUT#.VALUE is driven by an action in the Action table |
2 | AOUT#.VALUE is driven by the associated fieldbus object |
3 | AOUT#.VALUE is driven by an event in the Sequencer |
Examples
Usage
When AOUT#.SOURCE = 0 (User), then AOUT #.VALUE will be controlled by AOUT #.VALUEU.
When AOUT#.SOURCE = 1 (Action table), then AOUT #.VALUE will be controlled by the assigned action, if any.
When AOUT#.SOURCE = 2 (Fieldbus), then AOUT#.VALUE will be controlled by the associated fieldbus analog output object 3800h sub 2.
When AOUT#.SOURCE = 3 (Sequencer), then AOUT#.VALUE will be controlled by the assigned event in the Sequencer.
Code
Changing output value with VALUEU and then changing SOURCE to be action table with no action configured:
--> AOUT1.SOURCE 0 (User) --> AOUT1.VALUE 0.000 V --> AOUT1.VALUEU 1 --> AOUT1.VALUE 1.000 V --> AOUT1.SOURCE 1 --> AOUT1.VALUE 0.000 V
Context
For more information see Analog Output.
Versions
Action | Version | Notes |
---|---|---|
Implemented | 02-00-00-000 | |
Added fieldbus source | 02-00-01-000 | |
Added Sequencer source | 02-02-03-000 |
General Information
Type | Read/Write |
Units | N/A |
Range | 0 to 2 |
Default Value | 0 |
Data Type | Integer |
See Also | |
Stored in Non-Volatile Memory | Yes |
Variants Supported
All variants are supported.
Fieldbus Information
Command |
Index |
SubIndex |
Data Type |
Units |
Float Scale |
Access |
PDO Mappable |
---|---|---|---|---|---|---|---|
AOUT1.SOURCE |
3800h |
03h |
Unsigned8 |
- |
- |
Read/Write |
No |
AOUT2.SOURCE |
3801h |
03h |
Unsigned8 |
- |
- |
Read/Write |
No |
ID |
Instance |
Attribute |
Name |
Data Type |
Access |
User Mappable |
---|---|---|---|---|---|---|
24050 |
1 |
24050 (0x5df2) |
AOUT1.SOURCE |
Unsigned8 |
Read/Write |
Yes |
24051 |
1 |
24051 (0x5df3) |
AOUT2.SOURCE |
Unsigned8 |
Read/Write |
Yes |
Parameter |
PNU |
Data Type |
Access |
Units |
---|---|---|---|---|
AOUT1.SOURCE |
24050 |
Unsigned8 |
Read/Write |
- |
AOUT2.SOURCE |
24051 |
Unsigned8 |
Read/Write |
- |